Next | Prev | Up | Top | Contents | Index

Using OpenGL With the X Window System

OpenGL is a window-system-independent graphics library. The platform's window system determines where and how the OpenGL application is displayed and how events (user input or other interruptions) are handled. Currently, OpenGL is available for the X Window System, for OS/2(TM), for Windows NT(TM), and for Windows(TM) 95. If you intend your application to run under several window systems, the application's OpenGL calls can remain unchanged but window system calls are different for each window system.

Note: If you plan to have your application run under different window systems, be sure to keep the windowing code isolated as much as possible to minimize the number of files that must be special for each implementation. All Silicon Graphics systems use the X Window System. Applications on a Silicon Graphics system rely on Xlib calls to manipulate windows and obtain input. An X-based window manager (usually 4Dwm) handles iconification, window borders, and overlapping windows. The Indigo Magic(TM) desktop environment is based on X, as is the Silicon Graphics widget set, IRIS IM. IRIS IM is the Silicon Graphics port of OSF/Motif.(TM)

A full introduction to X is beyond the scope of this guide; for detailed information about X, see the sources listed in "Background Reading" on page xxv.


The GLX Extension to the X Window System
Libraries, Tools, Toolkits, and Widget Sets
A Note to IRIS GL Users

Next | Prev | Up | Top | Contents | Index